<form id="pagerForm" method="post" action="jms/news">
	<input type="hidden" name="pageNum" value="${(pager.pageNumber)!}" />
	<input type="hidden" name="numPerPage" value="${(pager.pageSize)!}" />
</form>
<div class="pageContent" style="padding:0px">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="jms/news/add" target="dialog"  width="500" height="350" mask="true"><span>新增</span></a></li>
			<li class="line">line</li>
			<li><a class="edit" href="jms/news/edit?id={sid_obj}" target="dialog" width="500" height="350" mask="true"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="jms/news/delete"  target="selectedTodo" rel="ids"  title="确认删除？"><span>删除</span></a></li>
			<li class=""><a class="icon" href="jms/news/export" target="dwzExport" targettype="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>

	<table class="table" layoutH="77">
		<thead>
			<tr>
				<th width="80" align="left"><input type="checkbox" group="ids" class="checkboxCtrl"/>行号</th>
				<th width="150" align="left">编码</th>
				<th width="150" align="left">标题</th>
				<th width="150" align="left">类型</th>
			</tr>
		</thead>
		<tbody>
			<#list pager.list as news>
				<tr target="sid_obj" rel="${(news.id)!}" ondblclick="migr.baseMoudleDblick(this)">
					<td align="left">
						<input name="ids" type="checkbox" value="${(news.id)!}"/>
						${news_index + 1}
					</td>
	            	<td align="left">${(news.id)!}</td>
	            	<td align="left">${(news.name)!}</td>
	            	<td align="left">
	            		<#if (news.type)?? && news.type==1001>公司新闻
						<#elseif  (news.type)?? && news.type==1002>公司通知
						<#elseif  (news.type)?? && news.type==3001>建设维护
						<#elseif  (news.type)?? && news.type==3002>运营管理
						<#elseif  (news.type)?? && news.type==3003>地市创新
						<#elseif  (news.type)?? && news.type==3004>综合管理
						<#else>其他
						</#if>
	            	</td>
				</tr>
			</#list>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
    		<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
    			<option value="20" <#if pager.pageSize == 20> selected</#if>>20</option>
    			<option value="50" <#if pager.pageSize == 50> selected</#if>>50</option>
    			<option value="100"<#if pager.pageSize == 100> selected</#if>>100</option>
    			<option value="200"<#if pager.pageSize == 200> selected</#if>>200</option>
    		</select>
			<span>条，共<font style="color:red;font-weight:bold;">${pager.totalRow!}</font>条，共<font style="color:red;font-weight:bold;">${pager.totalPage!}</font>页&nbsp;&nbsp;&nbsp;&nbsp;</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="${pager.totalRow!}" numPerPage="${pager.pageSize!}" pageNumShown="10" currentPage="${pager.pageNumber!}"></div>
	</div>
</div>

